package com.itheima.admin.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.lang.reflect.Type;
import java.util.Date;

@Data
@TableName(value = "ad_channel")
public class AdChannel {
    @TableId (value = "id", type= IdType.AUTO)
    private Integer id;
    @TableField(value = "name")
    private String name;
    @TableField(value = "description")
    private String description;
    @TableField(value = "is_default")
    private Boolean isDefault;
    @TableField(value = "status")
    private Boolean status;
    @TableField(value = "ord")
    private Integer ord;
    @TableField(value = "created_time",fill = FieldFill.INSERT)
    private Date createdTime;
}
